package com.scalar.chiptrack.operations.process;

/**
 * Finished Goods Object, 
 *
 * @author Kesava Kumar Achanala
 * @version $Revision: 1.1.1.1 $ $Date: 2006/12/11 23:43:08 $
 */


public class FinishedGoods {

  // ----------------------------------------------------- Instance Variables
  
  private int processStepId = -1;
  private int minLevel = -1;
  private int maxLevel = -1;
  private int maxTime = -1;
  private int reorderLevel = -1;
  private int productId= -1;
  private String pType = null;
  private String manufacturingPartNo = null;
  private String marketingPartNo = null;
  private String pComments = null;



  private String customer_PartNumber = null;
  private String label_Number = null;
  private int odmId = -1;

  /**
   * Default Constructor
   *
   */
  public FinishedGoods() {

  }

  /**
   * Constructor
   *
   */
  public FinishedGoods(int processStepId, int minLevel, int maxLevel, int maxTime, int reorderLevel,
            String manufacturingPartNo, String marketingPartNo,int productId) {
            
        this.processStepId = processStepId;
        this.minLevel = minLevel;
        this.maxLevel = maxLevel;
        this.maxTime = maxTime;
        this.reorderLevel = reorderLevel;
        this.manufacturingPartNo = manufacturingPartNo;
        this.marketingPartNo = marketingPartNo;
		this.productId	=	productId;
  }

 public FinishedGoods(int processStepId, String manufacturingPartNo, String marketingPartNo,int productId, String pType) {
            
        this.processStepId = processStepId;
        this.manufacturingPartNo = manufacturingPartNo;
        this.marketingPartNo = marketingPartNo;
		this.productId	=	productId;
		this.pType = pType;
  }

// ** SharatH on 8th July 03.
 public FinishedGoods(int processStepId, String manufacturingPartNo, String marketingPartNo,int productId, String pType, String pComments) {

        this.processStepId = processStepId;
        this.manufacturingPartNo = manufacturingPartNo;
        this.marketingPartNo = marketingPartNo;
		this.productId	=	productId;
		this.pType = pType;
        this.pComments = pComments;
  }
 //Added by  sarada on 2nd Jan 2004 to add one more parameter customer part number
 public FinishedGoods(int processStepId, String manufacturingPartNo, String marketingPartNo,int productId, String pType, String pComments, String customer_PartNumber) {

        this.processStepId = processStepId;
        this.manufacturingPartNo = manufacturingPartNo;
        this.marketingPartNo = marketingPartNo;
		this.productId	=	productId;
		this.pType = pType;
        this.pComments = pComments;
        this.customer_PartNumber = customer_PartNumber;
  }

  // ----------------------------------------------------- Public get/set methods
  
  public int getProcessStepId()
  {
      return processStepId;
  }
  
  public void setProcessStepId(int processStepId)
  {
      this.processStepId = processStepId;
  }
  
  public int getMinLevel()
  {
      return minLevel;
  }
  
  public void setMinLevel(int minLevel)
  {
      this.minLevel = minLevel;
  }
  
  public int getMaxLevel()
  {
      return maxLevel;
  }
  
  public void setMaxLevel(int maxLevel)
  {
      this.maxLevel = maxLevel;
  }
  
  public int getMaxTime()
  {
      return maxTime;
  }
  
  public void setMaxTime(int maxTime)
  {
      this.maxTime = maxTime;
  }
  
  
  public int getReorderLevel()
  {
      return reorderLevel;
  }
  
  public void setReorderLevel(int reorderLevel)
  {
      this.reorderLevel = reorderLevel;
  }
  
  public String getManufacturingPartNo()
  {
      return manufacturingPartNo;
  }
  
  public void setManufacturingPartNo(String manufacturingPartNo)
  {
      this.manufacturingPartNo = manufacturingPartNo;
  }
  
  public String getMarketingPartNo()
  {
      return marketingPartNo;
  }
  
  public void setMarketingPartNo( String marketingPartNo )
  {
      this.marketingPartNo = marketingPartNo;
  }
  
 public int getProductId()
  {
      return productId;
  }
  
  public void setProductId(int productId)
  {
      this.productId = productId;
  }	

  public String getPType(){
	  return pType;
  }

  public void setPType( String pType ){
	  this.pType = pType;
  }

    public String getPComments(){
        return pComments;
    }

    public void setPComments(String pComments){
        this.pComments = pComments;
    }

      public String getCustomerPartNumber() {
        return customer_PartNumber;
    }

    public void setCustomerPartNumber(String customer_PartNumber) {
        this.customer_PartNumber = customer_PartNumber;
    }

    public String getLabelNumber() {
        return label_Number;
    }

    public void setLabelNumber(String label_Number) {
        this.label_Number = label_Number;
    }

    public int getOdmId() {
        return odmId;
    }

    public void setOdmId(int odmId) {
        this.odmId = odmId;
    }
}